.box {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  justify-items: flex-start;
  align-items: flex-start;
  z-index: 2001;
  background-color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
  &.open {
    opacity: 1;
    pointer-events: all;
  }
}

.header {
  height: 50px;
  background-color: white;
  flex-shrink: 0;
  flex-grow: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  justify-items: center;
  align-items: center;
  overflow: hidden;
  padding: 0px 10px;
  border-top: 1px solid #eee;
}
.title {
  flex-shrink: 1;
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 16px;
  color: #333;
}
.content {
  flex-shrink: 1;
  flex-grow: 1;
  width: 100%;
}
.footer {
  height: 60px;
  width: 100%;
  background-color: white;
  flex-shrink: 0;
  flex-grow: 0;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-end;
  justify-items: flex-end;
  align-items: center;
  column-gap: 15px;
}

.close {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  align-items: center;
  color: #666;
  width: 30px;
  height: 30px;
  font-size: 20px;
  cursor: pointer;
  &:hover {
    color: #333;
  }
}
